package com.ruoyi.ctcx.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 保险合同佣金支付对象 tb_insurance_contract_commission_real
 * 
 * @author ruoyi
 * @date 2024-11-21
 */
public class TbInsuranceContractCommissionReal extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 所属保险id */
    @Excel(name = "所属保险id")
    private Long insureId;

    /** 所属合同id */
    @Excel(name = "所属合同id")
    private Long contractId;

    /** 计划批次id */
    @Excel(name = "计划批次id")
    private Long planId;

    /** 批次名称 */
    @Excel(name = "批次名称")
    private String realName;

    /** 实际支付金额 */
    @Excel(name = "实际支付金额")
    private BigDecimal realAmount;

    /** 实际支付时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "实际支付时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date realDate;

    /** 支付比例 */
    @Excel(name = "支付比例")
    private BigDecimal rate;

    /** 支付责任人 */
    @Excel(name = "支付责任人")
    private String responsiblePerson;

    /** $column.columnComment */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setInsureId(Long insureId) 
    {
        this.insureId = insureId;
    }

    public Long getInsureId() 
    {
        return insureId;
    }
    public void setContractId(Long contractId) 
    {
        this.contractId = contractId;
    }

    public Long getContractId() 
    {
        return contractId;
    }
    public void setPlanId(Long planId) 
    {
        this.planId = planId;
    }

    public Long getPlanId() 
    {
        return planId;
    }
    public void setRealName(String realName) 
    {
        this.realName = realName;
    }

    public String getRealName() 
    {
        return realName;
    }
    public void setRealAmount(BigDecimal realAmount) 
    {
        this.realAmount = realAmount;
    }

    public BigDecimal getRealAmount() 
    {
        return realAmount;
    }
    public void setRealDate(Date realDate) 
    {
        this.realDate = realDate;
    }

    public Date getRealDate() 
    {
        return realDate;
    }
    public void setRate(BigDecimal rate) 
    {
        this.rate = rate;
    }

    public BigDecimal getRate() 
    {
        return rate;
    }
    public void setResponsiblePerson(String responsiblePerson) 
    {
        this.responsiblePerson = responsiblePerson;
    }

    public String getResponsiblePerson() 
    {
        return responsiblePerson;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("insureId", getInsureId())
            .append("contractId", getContractId())
            .append("planId", getPlanId())
            .append("realName", getRealName())
            .append("realAmount", getRealAmount())
            .append("realDate", getRealDate())
            .append("rate", getRate())
            .append("responsiblePerson", getResponsiblePerson())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
